//-----------------------------------------------------------------------------
// Bend2D - Physics Engine
// Roberto Bender <beto.bender@gmail.com>
// Description: 
// Date: 15/03/2010
//-----------------------------------------------------------------------------
#include "boundary.h"
using namespace bend2d;

Boundary::Boundary()
{
    SetGeometricForm(CollidableForm::eLine);
}

Boundary::Boundary(const Line& line) :
    m_Line(line)
{
    SetGeometricForm(CollidableForm::eLine);
}

void Boundary::SetLine(const Line& line)
{
    m_Line = line;
}

const Line& Boundary::GetLine() const
{
    return m_Line;
}

Line& Boundary::GetLine()
{
    return m_Line;
}

const Line& Boundary::GetStaticLine() const
{
    return m_Line;
}

